package com.winit.schedule.job.tracker.repository.mysql.dao;

import com.winit.schedule.core.repository.entity.UserLogEntity;
import com.winit.schedule.core.repository.query.UserLogQuery;
import com.winit.schedule.job.tracker.repository.mysql.plugin.SearchRequest;

import java.util.List;

/**
 * Created by jianke.zhang on 2017/5/5.
 */
public interface MysqlUserLogDao {

    void saveLog(UserLogEntity entity);

    List<UserLogEntity> getLogById(String jobId);

    List<UserLogEntity> queryLogPage(SearchRequest<UserLogQuery> search);

    long queryLogPageCount(UserLogEntity query);

}
